/**
  ******************************************************************************
  * @file    api_fan_pmsm_pfc.h
  * @author  Silan - MC Team
  * @version 1.0.0
  * @date    2018/10/23
  * @brief   Interface of fan&compress&pfc control.
  * @details None
	* @note    None
  ******************************************************************************
  * @attention
  * THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
  * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
  * AS A RESULT, SILAN MICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
  * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
  * CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
  * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
	*
  ******************************************************************************
	* Change History
	* -# 2018/10/23 | v1.0.0 | Wangjianlong | Creat file.
	*
	******************************************************************************
  */

/*******************************************************************************
 * Define to prevent recursive inclusion
 ******************************************************************************/
#ifndef __API_DRIVER_H__
#define __API_DRIVER_H__


/*******************************************************************************
 * Include section
 ******************************************************************************/


/*******************************************************************************
 * Typedefs, structs and enums
 ******************************************************************************/


/*******************************************************************************
 * Constants and macros
 ******************************************************************************/


/*******************************************************************************
 * Variables
 ******************************************************************************/


/*******************************************************************************
 * Prototypes of the functions
 ******************************************************************************/
extern void FanTzFunction(void);
extern void FanFastLoopFunction(void);
extern void FanSlowLoopFunction(void);
extern void FanMainLoopFunction(void);
extern void FanInitFunction(void);

extern void PmsmFastLoopFunction(void);
extern void PmsmSlowLoopFunction(void);
extern void PmsmMainLoopFunction(void);
extern void PmsmInitFunction(void);

extern void PfcFastLoopFunction(void);
extern void PfcSlowLoopFunction(void);
extern void PfcMainLoopFunction(void);
extern void PfcInitFunction(void);

extern void DriverErrorProcess(void);
extern void DriverStateProcess(void);

/*---------------------------------- End of the file ---------------------------------*/
#endif /* __API_DRIVER_H__ */
